<style type="text/css">
    .table th, .table td {
        text-align: center;
        vertical-align: middle!important;
    }
    .table th:nth-child(1), 
    .table td:nth-child(1),
    .table th:nth-child(2), 
    .table td:nth-child(2),
    .table th:nth-child(6), 
    .table td:nth-child(6) {
        width: 10%;
    }
    .table th:nth-child(3), 
    .table td:nth-child(3),
    .table th:nth-child(4), 
    .table td:nth-child(4) {
        width: 20%;
    } 
    .table th:nth-child(5), 
    .table td:nth-child(5) {
        width: 30%;
    } 

    .pagination li {
        display: inline;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
</style>
<div class="panel panel-default">
    <div class="panel-heading">
        <h4 class="panel-title">
            <a data-toggle="collapse" data-parent="#accordion" href="#thongtincanbo">
                <i class="glyphicon glyphicon-pencil"></i>&nbsp;Thông tin chi tiết cán bộ
            </a>
        </h4>
    </div>
    <div class="panel-collapse collapse in" id="thongtincanbo">        
        {{ Form::open(array('url'=>'store=dscanbo','method'=>'post','class'=>'form-horizontal','role'=>'form')) }} 
        {{ Form::token()}}
        <table class="table" cellspacing="0" cellpadding="0" style="margin-bottom: 0px">
            <tr>
                <td>
                    <label for="mscb" class="col-sm-3 control-label">MSCB:</label>
                    <div class="col-sm-9">
                        {{ Form::hidden('id',$row->ID) }} 
                        {{ Form::text('mscb',$row->MSCB,array('class'=>'form-control','value'=>Input::old("mscb"),'required'=>'','pattern'=>'[A-Za-z0-9_]{3,10}',"autofocus"=>"autofocus")) }}
                    </div> 
                </td>
            </tr> 
            <tr>
                <td>
                    <label for="hoten" class="col-sm-3 control-label">Họ tên cán bộ:</label>
                    <div class="col-sm-9">
                        {{ Form::text('hoten',$row->HO_TEN,array('placeholder' => 'Nhập họ tên cán bộ','class'=>'form-control','value'=>Input::old('hoten'),'required'=>'','pattern'=>'.{3,200}')) }}
                    </div> 
                </td>
            </tr> 
            <tr>                      
                <td>
                    <button class="btn btn-success" type='submit' title="Lưu cán bộ"><span class="glyphicon glyphicon-floppy-save">&nbsp;</span>Lưu</button>
                    <a class="btn btn-default" href="{{url('ql=dscanbo')}}" title="Quay lại danh sách cán bộ"><span class="glyphicon glyphicon-arrow-left">&nbsp;</span>Quay lại</a>
                </td>
            </tr>
        </table>
        {{Form::close()}}
    </div>
</div>
@if(Session::has('success')) 
<script type="text/javascript">
    toastr.success("{{Session::get('success')}}");
</script>
@endif
@if(Session::has('warning')) 
<script type="text/javascript">
    toastr.warning("{{Session::get('warning')}}");
</script>
@endif
@if(Session::has('error')) 
<script type="text/javascript">
    toastr.error("{{Session::get('error')}}");
</script>
@endif